﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Error_Oops : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        string logId = "";
        if (Request.QueryString["logid"] != null && Request.QueryString["logid"].ToString() != "0")
        {
            logId = " with LogId:" + Request.QueryString["logid"].ToString();
        }
        errorMessage.InnerHtml = "An unexpected error occurred in the web application.<br />" +
                "The error has been logged to the system" + logId + ".<br />" +
                "Please notify the site administrator for assistance.";
    }
}